package com.atguigu.mall.search.feign;

import com.atguigu.common.utils.R;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestMapping;

/**
 * 商品feign服务
 * @author lirl
 * @date 2021/3/10 15:47
 */
@FeignClient("gulimall-product")
public interface ProductFeignService {

    @RequestMapping("product/attr/info/{attrId}")
    R attrInfo(@PathVariable("attrId") Long attrId);
}
